[issue2551373] Create https live server for testing HTTPS only cookie generation

John Rouillard <[email protected]> Tue, 26 Nov 2024 22:04:21 +0000
Newsgroups gmane.comp.bug-tracking.roundup.devel
Message-ID <[email protected]>
New submission from John Rouillard:

issue 2551370 changes the session cookie name to restrict use to only https channels.

I have testing for the http channel, but not https.

I need a way in the testing environment to spin up an HTTPS endpoint that I can
test against using an HTTPS url. Then verify the cookie has the proper __Secure- prefix.

The roundup-server script can self-generate https keys, but the script is not
set up to allow me to easily spin it up and shut it down in a testing
environment.

Ideally this implementation would extend test/wsgi_liveserver.py.


Possible idea:

  https://stackoverflow.com/questions/16528297/how-to-enable-ssl-for-the-built-in-wsgi-server-
from-python

----------
components: Test
messages: 8198
nosy: rouilj
severity: normal
status: new
title: Create https live server for testing HTTPS only cookie generation
type: behavior

_________________________________________________
Roundup tracker <[email protected]>
<https://issues.roundup-tracker.org/issue2551373>
_________________________________________________