fetchival
                                
                                
                                
                                    fetchival copied to clipboard
                            
                            
                            
                        won't set Content-Type header when body is not preset
- setting Content-Type:'application/json' is confusing when there is no body in the request
 
According to W3:
The purpose of the Content-Type field is to describe the data contained in the body fully enough that the receiving user agent can pick an appropriate agent or mechanism to present the data to the user, or otherwise deal with the data in an appropriate manner.
I Agree, this cause errors on some strictly configured web servers.