Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mod.rs add handle the response type properly #16

Merged

Conversation

subhashdasyam
Copy link
Contributor

Handle the response types

It only handles text/* and application/*

if application/octet-stream is present it downloads few bytes and check if the data is binary or readable text, if its readable text it responds as is, if its binary data it ignores.

if the content-type is image or so it ignore for now :)

Screenshot from 2024-07-05 21-51-30

@evilsocket basically handles #15

@evilsocket evilsocket merged commit 9eda43f into evilsocket:main Jul 6, 2024
@subhashdasyam subhashdasyam deleted the subhashdasyam-handle-response branch July 6, 2024 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants