How to handle “100 continue” HTTP message?

I know this is old, but here is my understanding of “100 Continue” Your server is supposed to validate the request based on header alone from the client i.e. if the request is invalid, don’t send “100 Continue” but actual http error instead e.g. 403. This should prevent the client from posting the data which … Read more

HTTPS Proxy Server in node.js

Solutions barely exist for this, and the documentation is poor at best for supporting both on one server. The trick here is to understand that client proxy configurations may send https requests to an http proxy server. This is true for Firefox if you specify an HTTP proxy and then check “same for all protocols”. … Read more

Does HTTP response “200 OK” give a guarantee that the document has been received by the machine who generated the HTTP request?

Does the HTTP 200 code also work as an acknowledgment that document has been received? No. Not at all. It is not even a guarantee that the document was completely transmitted. The response code is in the first line of the response stream. The server could fail, or be disconnected from the client anywhere between … Read more

Is the name of a cookie case sensitive?

Cookie names are case-sensitive. The RFC does not state that explicitly, but each case-insensitive comparison is stated so explicitly, and there is no such explicit statement regarding the name of the cookie. Chrome and Firefox both treat cookies as case-sensitive and preserve all case variants as distinct cookies. Test case (PHP): print_r($_COOKIE); setcookie(‘foo’, ‘123’); setcookie(‘Foo’, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)