JoeDog / siege

Siege is an http load tester and benchmarking utility
GNU General Public License v3.0
5.95k stars 385 forks source link

Added support of content type application/x-protobuf #21

Open snapdealrohit opened 9 years ago

snapdealrohit commented 9 years ago

Added support for posting protobuf files through siege. We set Content-Type:application/x-protobuf when file in the POST has .proto extension.

JoeDog commented 9 years ago

Rohit,

Got it. I'll add it to the master.

Jeff

On Mon, Jul 27, 2015 at 10:59 PM, Rohit Kumar notifications@github.com wrote:

Added support for posting protobuf files through siege. We set Content-Type:application/x-protobuf when file in the POST has .proto

extension.

You can view, comment on, or merge this pull request online at:

https://github.com/JoeDog/siege/pull/21 Commit Summary

  • Added support of content type application/x-protobuf

File Changes

Patch Links:

— Reply to this email directly or view it on GitHub https://github.com/JoeDog/siege/pull/21.

snapdealrohit commented 9 years ago

Thanks Jeff. On Jul 30, 2015 11:24 PM, "Jeff Fulmer" notifications@github.com wrote:

Rohit,

Got it. I'll add it to the master.

Jeff

On Mon, Jul 27, 2015 at 10:59 PM, Rohit Kumar notifications@github.com wrote:

Added support for posting protobuf files through siege. We set Content-Type:application/x-protobuf when file in the POST has .proto

extension.

You can view, comment on, or merge this pull request online at:

https://github.com/JoeDog/siege/pull/21 Commit Summary

  • Added support of content type application/x-protobuf

File Changes

Patch Links:

— Reply to this email directly or view it on GitHub https://github.com/JoeDog/siege/pull/21.

— Reply to this email directly or view it on GitHub https://github.com/JoeDog/siege/pull/21#issuecomment-126417587.

Hailprob commented 2 years ago

what data should I input like post.json when using 'application/json' header

Hailprob commented 2 years ago

file in the POST has .proto extension. A file with proto extension defines the structure of data sent, it's not post itself, so how can I sent the data

JoeDog commented 2 years ago

siege -c1 -r1 "https://www.joedog.org/siege/echo.php POST < haha.proto"

On Sat, Aug 6, 2022 at 3:17 AM Hailprob @.***> wrote:

file in the POST has .proto extension. A file with proto extension defines the structure of data sent, it's not post itself, so how can I sent the data

— Reply to this email directly, view it on GitHub https://github.com/JoeDog/siege/pull/21#issuecomment-1207165250, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJRHZQG3CJ73KLHU42HHY3VXYGR7ANCNFSM4BMDRV3A . You are receiving this because you commented.Message ID: @.***>

-- Jeff Fulmer 1-717-799-8226 https://www.joedog.org/ He codes