Open starrify opened 5 years ago
@starrify this sounds good; pull requests are welcome! Do you have a specific use case for this feature?
My use case is when I want to retrieve body of only some specific requests. :) I'm currently using splash.request_body_enabled
but feel somehow reluctant as this would unnecessarily affect unrelated requests and increase the overhead.
With that software it is usual one misuse case :-)
El mar., 26 feb. 2019 0:28, Peng-Yu Chen notifications@github.com escribió:
My use case is when I want to retrieve body of only some specific requests. :) I'm currently using splash.request_body_enabled but feel somehow reluctant as this would unnecessarily affect unrelated requests and increase the overhead.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/scrapinghub/splash/issues/880#issuecomment-467226867, or mute the thread https://github.com/notifications/unsubscribe-auth/Agwyu8bcrmTXs5ckxYUf5T_8gj-LAJWEks5vRHGUgaJpZM4bJuqb .
Let's talk about visibility of request/response bodies in HAR as generated by
splash:har
:splash.response_body_enabled
request:enable_response_body
splash.request_body_enabled
Therefor I guess that it may be beneficial to introduce something like
request:enable_request_body
to have bodies of this specific requests included in the generated HAR.