pluto
pluto copied to clipboard
Header info is not visible in request or curl
Describe the bug Headers info is not visible in request as well as not getting added in curl request share or file share.
To Reproduce Steps to reproduce the behavior:
- Go to 'Pluto Network tab'
- Click on 'any request'
- See 'headers info'
Expected behavior All headers should be visible on the debugger screen as well as in curl
Smartphone (please complete the following information):
- Device: Poco X3 Pro
- OS: Android 11
- Library Version 1.0.6
hi @mohitsvnit please share the actual CURL and screenshot of Request tab for the above API
@srtvprateek it is happening for all the requests in our app. I will share the dummy API request and screenshot.
Hi @srtvprateek any fix for this ?
hey @vaibhav-sharechat , can you help me with couple of information
- curl request
- screenshot of the request tab for the above api
@srtvprateek
You can check the tab here. I can't provide the curl as it's a proprietary curl, but I can assure that we send 4-5 headers in every call which are not shown here. Also if we share the request they are not added into the curl but from network they are going to our backend
understood, let me check
Stale issue
@vaibhav-sharechat is the issue still persists?
- Is the Auth interceptor added as a NetworkInterceptor? If yes, can you also add pluto as a NetworkInterceptor using
addNetworkInterceptorinstead ofaddInterceptor?
edit - Although adding pluto as a network interceptor might cause issues with the response you see.
- What is the current order in which you have added the interceptors? Can you try adding the pluto interceptor after you add your auth interceptor?