Opened 16 years ago
Closed 15 years ago
#11091 closed (invalid)
SSL POST hangs if view function does not use POST object
Reported by: | Ben Smith | Owned by: | nobody |
---|---|---|---|
Component: | HTTP handling | Version: | 1.0 |
Severity: | Keywords: | ssl form post | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Here's how to reproduce:
- Setup a simple view function.
def myview(request):
return render_to_response('mytemplate.html')
- Write a simple form containing one named value that POSTs to the view:
<form method="POST" action="https://www.mysite.com/myview">
<input type="hidden" name="param" value="value"/>
<input type="submit"/>
</form>
- Submit the form
The browser will send the POST but no data will be returned. ssl_access.log and ssl_error.log will not have any record of the POST.
You can also do the submit with curl like this:
curl -v -d test=value https://www.mysite.com/myview
curl will just hang after telling you that it's submitted the request.
Change History (3)
comment:1 by , 15 years ago
Component: | Template system → HTTP handling |
---|
comment:3 by , 15 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Closing due to a lack of feedback and a counter example saying the problem doesn't exist.
I'm wondering if this is a Django or a web server problem.