Image request is truncated if its longer | Community
Skip to main content
April 11, 2018
Solved

Image request is truncated if its longer

  • April 11, 2018
  • 2 replies
  • 1945 views

Hi all,

Is there any reason why adobe would truncate the image requests? Is there a image request length restriction? We are using AppMeasurement 2.4.0 version and according to this article it should not truncate the request Handling Truncated Image Requests

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Hyder_Ziaee

Hi,

I would recommend removing the image as it has some sensitive data.

As for the question. It is not truncating the data, but using a different method to send the data. When the image request is too large, the library changes the method from GET to POST.  In the screenshot you have shared, you can see that the Request Method is POST.

In short, GET method sends data through the URL, while POST transfers it through the message body. For more information, you can read here: http://www.differencebetween.info/difference-between-get-and-post-method

2 replies

Hyder_Ziaee
Adobe Employee
Hyder_ZiaeeAdobe EmployeeAccepted solution
Adobe Employee
April 11, 2018

Hi,

I would recommend removing the image as it has some sensitive data.

As for the question. It is not truncating the data, but using a different method to send the data. When the image request is too large, the library changes the method from GET to POST.  In the screenshot you have shared, you can see that the Request Method is POST.

In short, GET method sends data through the URL, while POST transfers it through the message body. For more information, you can read here: http://www.differencebetween.info/difference-between-get-and-post-method

EricMatisoff
Adobe Employee
Adobe Employee
April 12, 2018