| I was using Anarki and playing around with the Arc web server, but I noticed that submitting forms using emacs-w3m produced the error: "Post request without Content-Length." Studying the headers sent by w3m and comparing them to the same sent by Firefox, I traced it back to the parseheader function in srv.arc. The problem was the case of the HTTP header fields sent by w3m: "Content-length" rather than the "Content-Length" that Arc expected. I checked RFC 2616 (HTTP/1.1), and according to section 4.2, "Field names are case-insensitive." I altered srv.arc to reflect this. I just pushed the change into the public repo, according to the instructions here: http://arclanguage.org/item?id=3849 . I checked the logs, and there seems to be a couple of extra merge commit messages. Is there any way to avoid that in future? I'm new to git. |