Abdelkrim / patajons

Automatically exported from code.google.com/p/patajons
1 stars 0 forks source link

add constant with the HTTP errors #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Branch name:
master

Purpose of code changes on this branch:
increase clarity of the code by adding constants describing the HTTP errors 
that can occur during the execution of the application. e.g. HTTP error 401

Original issue reported on code.google.com by abdelkri...@gmail.com on 9 Mar 2012 at 4:19

GoogleCodeExporter commented 9 years ago
see: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
403 : not authorized
404 : not found
401 : authorization required
405 : method not allowed

Original comment by maaz...@gmail.com on 22 Mar 2012 at 2:19