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

Posting data through url is limited #191

Closed
sekoyo opened this issue Feb 13, 2014 · 2 comments
Closed

Posting data through url is limited #191

sekoyo opened this issue Feb 13, 2014 · 2 comments

Comments

@sekoyo
Copy link

sekoyo commented Feb 13, 2014

Hi,

We are having issues where posting data back through the url reaches the maximum size and fails.

I was wondering why you are not posting as data in the body which doesn't have such limitations? Is it because of compatibility? Would you be willing to provide an option to people who want to post data in the normal way which works for larger error reports? (Otherwise I will create a fork).

Thanks

src = globalServer + getAuthQueryString() + '&sentry_data=' + encodeURIComponent(JSON.stringify(data));

@mattrobenolt
Copy link
Contributor

There were numerous tickets about this in the past that have been closed. There is simply more compatibility with doing a GET request instead of a POST and dealing with CORS and all that other fun stuff that lots of browsers don't handle.

BUT, moving forward, I'm going to be leveraging the new plugin infrastructure and provide pluggable transports. See #183. This will likely make it in for a 1.2 release when I get around to testing it and trying it out.

@sekoyo
Copy link
Author

sekoyo commented Feb 13, 2014

Great, thanks!

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

No branches or pull requests

2 participants