ProxymanApp / ProxymanApp/Proxyman
When using Atlantis, the request body occasionally appears empty in Proxyman
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 7k
- Forks
- 237
- PR merge metrics
- No merged PRs in 30d
Description
Description
When using Atlantis, the request body occasionally appears empty in Proxyman
I see that the data in originalRequest and currentRequest are different
I used ****** instead of * * * for the privacy related part
Steps to Reproduce
(lldb) po sessionTask.originalRequest
▿ Optional
▿ some : ************/MaintenanceOrderDraft
▿ url : Optional
▿ some : ************/MaintenanceOrderDraft
- _url : /MaintenanceOrderDraft
- cachePolicy : 0
- timeoutInterval : 30.0
- mainDocumentURL : nil
- networkServiceType : __C.NSURLRequestNetworkServiceType
- allowsCellularAccess : true
▿ httpMethod : Optional
- some : "POST"
▿ allHTTPHeaderFields : Optional<Dictionary<String, String>>
▿ some : 9 elements
▿ 0 : 2 elements
- key : "version"
- value : "1.9.0"
▿ 1 : 2 elements
- key : "User-Agent"
- value : "/1.9.0 (iPhone; iOS 15.4; Scale/2.00)"
▿ 2 : 2 elements
- key : "Accept-Language"
- value : "zh-Hans-CN;q=1"
▿ 3 : 2 elements
- key : "model"
- value : "iPhone"
▿ 4 : 2 elements
- key : "lang"
- value : "zh-CN"
▿ 5 : 2 elements
- key : "deviceName"
- value : "iPhone 6s"
▿ 6 : 2 elements
- key : "Authorization"
- value : "29bd6ac6-a0a2-493d-bcae-adce6e4f9c67"
▿ 7 : 2 elements
- key : "systemVersion"
- value : "15.4"
▿ 8 : 2 elements
- key : "Content-Type"
- value : "application/json"
▿ httpBody : Optional
▿ some : 4001 bytes
- count : 4001
▿ pointer : 0x00000001602ab000
- pointerValue : 5908377600
- httpBodyStream : nil
- httpShouldHandleCookies : true
- httpShouldUsePipelining : false
(lldb) po sessionTask.currentRequest
▿ Optional
▿ some : **********/MaintenanceOrderDraft
▿ url : Optional
▿ some : **********/MaintenanceOrderDraft
- _url : /MaintenanceOrderDraft
- cachePolicy : 0
- timeoutInterval : 30.0
- mainDocumentURL : nil
- networkServiceType : __C.NSURLRequestNetworkServiceType
- allowsCellularAccess : true
▿ httpMethod : Optional
- some : "POST"
▿ allHTTPHeaderFields : Optional<Dictionary<String, String>>
▿ some : 10 elements
▿ 0 : 2 elements
- key : "Accept-Language"
- value : "zh-Hans-CN;q=1"
▿ 1 : 2 elements
- key : "systemVersion"
- value : "15.4"
▿ 2 : 2 elements
- key : "lang"
- value : "zh-CN"
▿ 3 : 2 elements
- key : "model"
- value : "iPhone"
▿ 4 : 2 elements
- key : "User-Agent"
- value : "/1.9.0 (iPhone; iOS 15.4; Scale/2.00)"
▿ 5 : 2 elements
- key : "version"
- value : "1.9.0"
▿ 6 : 2 elements
- key : "Content-Length"
- value : "4001"
▿ 7 : 2 elements
- key : "Authorization"
- value : "29bd6ac6-a0a2-493d-bcae-adce6e4f9c67"
▿ 8 : 2 elements
- key : "Content-Type"
- value : "application/json"
▿ 9 : 2 elements
- key : "deviceName"
- value : "iPhone 6s"
- httpBody : nil
▿ httpBodyStream : Optional
- some : <__NSCFInputStream: 0x282980480>
- httpShouldHandleCookies : true
- httpShouldUsePipelining : false
Expected Behavior
Environment
- App version: Proxyman 5.2.0
- macOS version: macOS 14.4.1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the request in Proxyman 5.2.0 with the Atlantis client and compare sessionTask.originalRequest with sessionTask.currentRequest, focusing on httpBody and httpBodyStream. No source file or test is named; done means determining why the body appears empty in Proxyman and documenting or verifying the corrected request-body behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios
- Domain
- mobile-dev, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100