Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle large responses from Cappuccino #22

Merged
merged 2 commits into from Nov 11, 2014

Conversation

little-dude
Copy link
Contributor

When the response to a request is big, thin returns a temp file instead of a string. To avoid the file being deleted before it's read, we read it in the callback function that is called when we receive the response.

…ad of a string. To avoid the file being deleted before it's read, we read it in the callback function that is called when we receive the response.

response = result
th.wakeup
if result
Copy link
Member

Choose a reason for hiding this comment

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

Looks like you have som tabs here. Please use 4-spaces indentation

@little-dude
Copy link
Contributor Author

Use 4 spaces indentation

primalmotion added a commit that referenced this pull request Nov 11, 2014
Handle large responses from Cappuccino
@primalmotion primalmotion merged commit 0deeb0a into cappuccino:master Nov 11, 2014
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.

None yet

2 participants