Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP spec conformity test suite #12

Open
despeset opened this issue Mar 21, 2013 · 3 comments
Open

HTTP spec conformity test suite #12

despeset opened this issue Mar 21, 2013 · 3 comments

Comments

@despeset
Copy link
Member

This should be no problem 😀

@chuckha
Copy link
Member

chuckha commented Mar 21, 2013

@chuckha
Copy link
Member

chuckha commented Mar 21, 2013

This is the output for test number 1

[cha@ariadne httplint]$ ./httplint http://localhost:8000
Checking URL http://localhost:8000
* HTTP/1.1 404 Not Found [0d][0a]
    A response status code in the range 400 - 499 indicates that the 
    request could not be fulfilled due to client error. 

* Server: Julia/0.2.0-663.r5c87[0d][0a]
    OK. 

* [0d][0a]
    End of headers. 


    Consider adding a Content-Language header if applicable for this 
    document. 

    Warning: No Content-Type header was present. The client will have to 
    guess the media type or ask the user. Adding a Content-Type header is 
    strongly recommended. 

    Warning: No Date header was present. A Date header must be present, 
    unless the server does not have a clock, or the response is 100, 101, 
    or 500 - 599. 

    No Last-Modified header was present. The HTTP/1.1 specification states 
    that this header should be sent whenever feasible. 

@despeset
Copy link
Member Author

This is super useful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants