Relative Content

Tag Archive for http-response

Is Google’s Page Speed not working fine?

I’ve been making small improvements to a public ASP.NET site that I have and have ran it through Google’s online Page Speed several times. I have a specific problem, but something that really threw me off was that even if I didn’t make any changes and just kept running it time after time (5 minutes intervals) I’d keep getting different scores by +-1 or 2 points. That is just weird in itself. Anyways,

Which HTTP status codes are really OK?

I am writing an application to report to the user(devs) when their website fails. And what I mean by fails which is unfunctional or needs to report the problem to devs.
I do understand that status code 2XX means ‘Success’ according to wiki. But does that really do? I have access my website once and returned 204 ‘No-Content’, which is unfunctional to me. So the question is, what are the list of status codes return should It be considered “website is functional”?

Is path in Set-Cookie URL encoded?

I’m writing some code that sets cookies and I’m wondering about the exact semantics of the Set-Cookie header. Imagine the following HTTP header line:

The Request/Response Cycle

When User A decides he want to pay a visit to http://example.com/ it all begins with a Request. A short moment later he is given a Response. In this cycle Request-Response a lot is going on, in different frameworks it’s decoupled in different components among them Routing, Dispatching, etc.

Should I write an integration test that verifies rate limits?

This test would call a web service over and over for about a minute to confirm that a particular response code is returned, notifying us of our rate limit being reached. Not only is it a very slow test, it doesn’t confirm much of anything, and wastes resources.

Should I write an integration test that verifies rate limits?

This test would call a web service over and over for about a minute to confirm that a particular response code is returned, notifying us of our rate limit being reached. Not only is it a very slow test, it doesn’t confirm much of anything, and wastes resources.