comparison jb2_webserver.py @ 29:f728cf0df71d draft

planemo upload for repository https://github.com/usegalaxy-eu/temporary-tools/tree/master/jbrowse2 commit fe89199bded3f50aefb6958f0c4e85eede77ad81-dirty
author fubar
date Fri, 16 Feb 2024 00:04:37 +0000
parents 4c201a3d4755
children 4181e97c70a7
comparison
equal deleted inserted replaced
28:9a5c409f33f4 29:f728cf0df71d
1 #!/usr/bin/env python3# spec: simplest python web server with range support and multithreading that takes root path, 1 #!/usr/bin/env python3
2 # spec: simplest python web server with range support and multithreading that takes root path,
2 # port and bind address as command line arguments; by default uses the current dir as webroot, 3 # port and bind address as command line arguments; by default uses the current dir as webroot,
3 # port 8000 and bind address of 0.0.0.0 4 # port 8000 and bind address of 0.0.0.0
4 # borrowed from https://github.com/danvk/RangeHTTPServer 5 # borrowed from https://github.com/danvk/RangeHTTPServer
5 # and reborrowed from https://gist.github.com/glowinthedark/b99900abe935e4ab4857314d647a9068 6 # and reborrowed from https://gist.github.com/glowinthedark/b99900abe935e4ab4857314d647a9068
6 # 7 #