ByteBaker commented on issue #3300:
URL: https://github.com/apache/arrow-rs/issues/3300#issuecomment-1345355010

   Yep, totally. Correct me if I've misunderstood.
   
   The extension is the key to get the corresponding `content-type` (e.g. 
`application/json` if extension is `json`) already stored in a HashMap. The 
`content-type` argument is the default value if that fails. And I can populate 
the said HashMap from something like 
[here](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to