Skip to content
This repository was archived by the owner on Jul 9, 2023. It is now read-only.
This repository was archived by the owner on Jul 9, 2023. It is now read-only.

e.SetRequestBodyString() Truncates Anything Longer Than Original Request Body #70

@clindsb1

Description

@clindsb1

I'm trying at append some information into a soap header using titanium web proxy. I can get the request body using e.GetRequestBodyAsString() but when I modify the string and send it back using e.SetRequestBodyString() the string is truncated to the length of the original request body.

For example, if the original request body was:

<soap:Envelope>
    <soap:Header />
    <soap:Body>
        <tag>
            info
        </tag>
    </soap:Body>
</soap:Envelope>

And I changed it to be:

<soap:Envelope>
    <soap:Header>
    </soap:Header>
    <soap:Body>
        <tag>
            info
        </tag>
    </soap:Body>
</soap:Envelope>

The e.SetRequestBodyString would actually send:

<soap:Envelope>
    <soap:Header>
    </soap:Header>
    <soap:Body>
        <tag>
            info
        </tag>
    </soap:Body>
</so

In other words, if the original request was 500 bytes, and the modified message I was trying to send was 512 bytes, the actual message sent with the e.SetRequestBodyString would just be the first 500 bytes of the 512 byte message that I was trying to send.

Using Titanium Web Proxy 2.1.110 with .Net Framework 4.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions