FreeBSD Bugzilla – Attachment 211647 Details for
Bug 244123
libfetch: memory leak when processing multiple HTTP location response headers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Simple Python server useful for testing
httpredirect.py (text/plain), 402 bytes, created by
Hans Christian Woithe
on 2020-02-14 14:13:24 UTC
(
hide
)
Description:
Simple Python server useful for testing
Filename:
MIME Type:
Creator:
Hans Christian Woithe
Created:
2020-02-14 14:13:24 UTC
Size:
402 bytes
patch
obsolete
>#!/usr/local/bin/python3.7 > >import http.server >import socketserver > >class Handler(http.server.SimpleHTTPRequestHandler): > def do_GET(self): > self.send_response(302) > self.send_header('Location', 'http://localhost:8080/') > self.send_header('Location', 'http://localhost:8080/') > self.end_headers() > >httpd = socketserver.TCPServer(('', 8080), Handler) >httpd.serve_forever()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 244123
:
211646
| 211647