http

2 posts tagged “http”.

  1. 2024
  2. Avoiding "length" errors in Apache Bench with the -l option

    I was using the Apache Bench command to exercise some new code I'm writing in Datasette and I noticed I was getting a lot of errors: Truncated output: What's with the 953 failed requests?

    1 min read
  3. 2023
  4. Testing the Access-Control-Max-Age CORS header

    Today I noticed that Datasette wasn't serving a header. This meant that any CORS pre-flight requests would be repeated for every request, which hurts performance - the browser should be able to cache…

    1 min read