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 response error can't be different of 404 #17
Comments
Hello, |
Hi, I just push a new version that should do the job. 2 new methods are available in the httpResponse: By default, http return code is set to 200, and message is "OK"... Cheers, |
Hello, thank you for your work! regards Julien |
Hello, |
Hello,
thanks for you work on this library.
I don't see how to build a response with the error code i want and the content i want.
when i return false in the getPage() method, libnavajo automatically set HTTP error code to 404 and a default body with HTML is set in the body response.
Am i right ?
If this is the case, would you agree on a patch permitting such configuration ?
regards
Julien
The text was updated successfully, but these errors were encountered: