Skip to content

Added documentation covering http path, streaming and proxies#620

Merged
britzl merged 2 commits intomasterfrom
http-request-proxy-path-streaming
Mar 28, 2026
Merged

Added documentation covering http path, streaming and proxies#620
britzl merged 2 commits intomasterfrom
http-request-proxy-path-streaming

Conversation

@britzl
Copy link
Copy Markdown
Contributor

@britzl britzl commented Mar 27, 2026

@britzl britzl requested review from AGulev and paweljarosz March 27, 2026 14:47
Copy link
Copy Markdown
Contributor

@AGulev AGulev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of comments

local function handle_response(self, id, response)
if response.status == 200 then
print("File was successfully written to:", response.path)
print("File size:", response.document_size)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe it makes sense to add a line how to access it?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

pprint(response)
end, headers, post_data, options)
```

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe it worth mentioning this one while you are in the context defold/defold#9297

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point!

@britzl britzl merged commit 9ec0130 into master Mar 28, 2026
1 of 2 checks passed
@britzl britzl deleted the http-request-proxy-path-streaming branch March 28, 2026 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Duplicate headers issue when using http.request()

3 participants