“stomp.py” is a Python client library for accessing messaging servers (such as ActiveMQ or RabbitMQ) using the STOMP protocol (versions 1.0, 1.1 and 1.2). It can also be run as a standalone, command-line client for testing.
Apache License 2.0
491
stars
167
forks
source link
host header - STOMP 1.1 support and CLI argument #423
Hi, sorry for putting a bunch of issues into one discussion, I can split them if you'd prefer.
I noticed that if the vhost option is not specified and the selected STOMP version is 1.1, stomp.py will send a STOMP command without host header, please refer to #420 for more details.
I also noticed that stomp.py CLI does not accept the vhost argument, please refer to #421 for more details.
As per the STOMP protocol specification, the host header MUST be set for procol version 1.1 and 1.2; in our case, would also be great to do so via the stomp.py CLI.
Hi, sorry for putting a bunch of issues into one discussion, I can split them if you'd prefer.
I noticed that if the
vhost
option is not specified and the selected STOMP version is 1.1,stomp.py
will send a STOMP command withouthost
header, please refer to #420 for more details.I also noticed that
stomp.py
CLI does not accept thevhost
argument, please refer to #421 for more details.As per the STOMP protocol specification, the host header MUST be set for procol version 1.1 and 1.2; in our case, would also be great to do so via the
stomp.py
CLI.