-
-
Couldn't load subscription status.
- Fork 341
Open
Description
In the Do function of the Pipe object, all HTTP response codes of 2xx are treated as okay. While this is a good generalisation, a possible enhancement could be to create a dictionary containing helpful messages for the various HTTP codes and display the appropriate ones for completeness sake and provide finer control to the user who might want to perform different tasks based on different response codes.
Line 320 in 0296fd2
| func (p *Pipe) Do(req *http.Request) *Pipe { |
Metadata
Metadata
Assignees
Labels
No labels