-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Custom Uploader improvement #39
Comments
How can i test it if i add it? |
I can provide response header. Or (if you have AWS account) you can test it via http://s3.amazonaws.com/doc/s3-example-code/post/post_sample.html |
It require credit card to register so i can't test it. |
I could be a tester :) |
I'm not gonna implement something which i can't even test is it working. Working blindly is not an option for programming. |
I think that there is nothing special about Amazon S3 POST request. This is just an option to get response header of a POST request. It can be tested on POST request to any site. |
How to parse response header? Custom uploader section already don't have any space to insert new controls. |
Custom uploader has a combo box with response type. Just add there "Response header". And then it can be parsed by regex as it is already implemented. |
I could even do not mention about S3. It is just one more option to get POST request reponse. |
Regex applying in response because it is string. But response headers is name value array so how regex can work properly like that? |
Just concat the array elements to a single string with some separator I think. Like this: |
Now how am i supposed to test it? I need to find one page which returns response headers. |
Custom uploader settings to get POST request header response: |
You are using old version of ShareX look like. |
Updated: |
I still can't test because: |
Yes, it returns error. But this is a kind of response too, and it also has a header, too. We just need header to convert it to a single string. Why this header is bad for testing? |
I already added it but i can't be sure is it working and your string not verify that my codes works... |
Maybe this: |
Wow! Thanks a lot! |
Hello!
I am using Custom Uploader to upload to amazon S3. It uploads successfully, but S3 POST request provides content empty response (just response header is provided) and ShareX reports error (in spite of successful upload). Could you add "Header" to response type in Custom Uploader settings?
Thanks.
The text was updated successfully, but these errors were encountered: