httplabThe interactive web server
The interactive web server.
HTTPLabs let you inspect HTTP requests and forge responses.
Install
Golang
go get github.com/gchaincl/httplab
go install github.com/gchaincl/httplab/cmd/httplab
Archlinux
yaourt httplab
Snap FIXME
On systems where snap is supported:
snap install httplab
Binary distribution
Each release provides pre-built binaries for different architectures, you can download them here: https://github.com/gchaincl/httplab/releases/latest
Help
Usage of httplab:
-a, --auto-update Auto-updates response when fields change. (default true)
-b, --body string Specifies the inital response body. (default "Hello, World")
-c, --config string Specifies custom config path.
--cors Enable CORS.
--cors-display Display CORS requests. (default true)
-d, --delay int Specifies the initial response delay in ms.
-H, --headers strings Specifies the initial response headers. (default [X-Server:HTTPLab])
-p, --port int Specifies the port where HTTPLab will bind to. (default 10080)
-s, --status string Specifies the initial response status. (default "200")
-v, --version Prints current version.
Key Bindings
Key | Description |
---|---|
Tab | Next Input |
Shift+Tab | Previous Input |
Ctrl+a | Apply Response changes |
Ctrl+r | Resets Request history |
Ctrl+s | Save Response as |
Ctrl+f | Save Request as |
Ctrl+l | Toggle Responses list |
Ctrl+t | Toggle Response builder |
Ctrl+o | Open Body file |
Ctrl+b | Switch Body mode |
Ctrl+h | Toggle Help |
Ctrl+w | Toggle line wrapping |
q | Close popup |
PgUp | Previous Request |
PgDown | Next Request |
Ctrl+c | Quit |
HTTPLab uses file to store pre-built responses, it will look for a file called .httplab
on the current directory if not found it will fallback to $HOME
. A sample file can be found here.
HTTPLab is heavily inspired by wuzz
评论
Rimfaxe Web Server
它包含了一个JSP/servletcontainer,最大的特点是把jsp编译成nativelibrarie,好处是大大提高运行速度和减少内存消耗。另外,RWS也具有如缓存静态页面和参数配置简单、易用
Rimfaxe Web Server
0
nweb Web Server小型Web服务器
nweb是一个超小的WebServer,只有200行代码。但足够被用做一个安全的静态页面服务器。nweb非常适合有志者用来构建自己的强大服务器的种子。下载地址:http://www.ibm.com/d
nweb Web Server小型Web服务器
0
Tiny Java Web Server
TJWSisanOpenSourceHTTPServerandServletcontainerwrittenin100%Java.It'sdesignedtobelightweight,highper
Tiny Java Web Server
0
Ran Server静态 Web 服务器
Ran是用Go语言开发的一个简单的静态Web服务器。主要特性:目录列表自动对内容进行gzip压缩摘要认证访问日志自定义404错误页面依赖:github.com/abbot/go-http-authgi
Ran Server静态 Web 服务器
0
Cyclone轻量级Web Server框架
Cyclone是用Python编写的一款异步非阻塞的轻量级WebServer框架。它实现了Tornado的API,底层实现是基于TwistedProtocol的。Cyclone项目的主要意义在于,将T
Cyclone轻量级Web Server框架
0