uwsgi protocol
uwsgi packet header
set modifier1 0
set modifier2 0
binary format {uc us uc a*} $modifier1 $size $modifier2 $data
WSGI block vars
- a list of variable length string.
dict for {name value} {
append block_vars [
set name_size [string length $name]
set value_size [string length $value]
binary format {us a* us a*} $name_size $name $value_size $value
]
}
uwsgi response
It's ok to just reply normal HTTP response.