Update for better customize http codes

This is veary good library ( sorry for my worst english ) 

This changes is for people who want customize http codes in his api more info in my commits.