Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

content type 'application/vnd.ms-excel' #1283

peter-gerlagh-kyos started this conversation in Feature request
Discussion options

I have a client that needs to download an excel workbook.
In the generated code this method was completely missing.
I suspect that configuring:

  • headers={"accept": "application/vnd.ms-excel"}
  • return the Response.read() raw bytes

would be a significant improvement, and would give the user enough agency to decide what they want to do with the excel file.
(I want to parse it with polars, but that's not the only option.)

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /