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:

  1. Setup a simple view function.

def myview(request):

return render_to_response('mytemplate.html')

  1. 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>

  1. 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 Chris Beaven, 16 years ago

Component: Template systemHTTP handling

I'm wondering if this is a Django or a web server problem.

comment:2 by Dennis Kaarsemaker, 15 years ago

I don't see that problem using apache 2 with mod_fcgi on rhel4.

comment:3 by Russell Keith-Magee, 15 years ago

Resolution: invalid
Status: newclosed

Closing due to a lack of feedback and a counter example saying the problem doesn't exist.

Note: See TracTickets for help on using tickets.
Back to Top