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

Header info is not visible in request or curl #80

Open
mohitsvnit opened this issue Sep 20, 2021 · 9 comments
Open

Header info is not visible in request or curl #80

mohitsvnit opened this issue Sep 20, 2021 · 9 comments
Assignees
Labels
bug Something isn't working

Comments

@mohitsvnit
Copy link

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:

  1. Go to 'Pluto Network tab'
  2. Click on 'any request'
  3. 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
@mohitsvnit mohitsvnit added the bug Something isn't working label Sep 20, 2021
@srtvprateek
Copy link
Member

srtvprateek commented Sep 20, 2021

hi @mohitsvnit please share the actual CURL and screenshot of Request tab for the above API

@mohitsvnit
Copy link
Author

@srtvprateek it is happening for all the requests in our app. I will share the dummy API request and screenshot.

@vaibhav-sharechat
Copy link

Hi @srtvprateek any fix for this ?

@srtvprateek
Copy link
Member

hey @vaibhav-sharechat , can you help me with couple of information

  • curl request
  • screenshot of the request tab for the above api

@vaibhav-sharechat
Copy link

@srtvprateek
Screenshot_2021-10-28-11-00-41-174_in mohalla sharechat
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

@srtvprateek
Copy link
Member

understood, let me check

@github-actions
Copy link

github-actions bot commented Jan 1, 2022

Stale issue

@srtvprateek
Copy link
Member

@vaibhav-sharechat is the issue still persists?

@epicadk
Copy link
Contributor

epicadk commented Jul 22, 2023

  1. Is the Auth interceptor added as a NetworkInterceptor? If yes, can you also add pluto as a NetworkInterceptor using addNetworkInterceptor instead of addInterceptor?

edit - Although adding pluto as a network interceptor might cause issues with the response you see.

  1. 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants