Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(963)

Side by Side Diff: chrome/browser/chromeos/login/test/https_forwarder.py

Issue 2100303002: Add OCSPVerifyResult for tracking stapled OCSP responses cross-platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ocsp-date-check
Patch Set: Remaining nits. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | net/cert/cert_verify_proc.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """An https server that forwards requests to another server. This allows a 5 """An https server that forwards requests to another server. This allows a
6 server that supports http only to be accessed over https. 6 server that supports http only to be accessed over https.
7 """ 7 """
8 8
9 import BaseHTTPServer 9 import BaseHTTPServer
10 import minica 10 import minica
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 return server 181 return server
182 182
183 def add_options(self): 183 def add_options(self):
184 """Specifies the command-line options understood by the server.""" 184 """Specifies the command-line options understood by the server."""
185 testserver_base.TestServerRunner.add_options(self) 185 testserver_base.TestServerRunner.add_options(self)
186 self.option_parser.add_option('--https', action='store_true', 186 self.option_parser.add_option('--https', action='store_true',
187 help='Ignored (provided for compatibility ' 187 help='Ignored (provided for compatibility '
188 'only).') 188 'only).')
189 self.option_parser.add_option('--ocsp', help='Ignored (provided for' 189 self.option_parser.add_option('--ocsp', help='Ignored (provided for'
190 'compatibility only).') 190 'compatibility only).')
191 self.option_parser.add_option('--ocsp-date', help='Ignored (provided for'
192 'compatibility only).')
193 self.option_parser.add_option('--ocsp-produced', help='Ignored (provided '
194 'for compatibility only).')
191 self.option_parser.add_option('--ssl-host', help='The host name that the ' 195 self.option_parser.add_option('--ssl-host', help='The host name that the '
192 'certificate should be issued to.') 196 'certificate should be issued to.')
193 self.option_parser.add_option('--forward-target', help='The URL prefix to ' 197 self.option_parser.add_option('--forward-target', help='The URL prefix to '
194 'which requests will be forwarded.') 198 'which requests will be forwarded.')
195 199
196 200
197 if __name__ == '__main__': 201 if __name__ == '__main__':
198 sys.exit(ServerRunner().main()) 202 sys.exit(ServerRunner().main())
OLDNEW
« no previous file with comments | « no previous file | net/cert/cert_verify_proc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698