Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Why does HTTP code not migrate from 4.7 to 4.15

I'm migrating a project from 4.7 to 4.15. This project includes an HTTP request in project source code. On 4.7, the project works fine, and the HTTP requests executes successfully and retrieves what it is supposed to. However, in 4.15, the same code doesn't compile until i change one param in the header of the POST.

In 4.7, SetHeader("Content_Type", theContentType); worked. but in 4.15 I had to change that to SetHeader("Content-Type", theContentType);.

So i guess my question is why did this compile ok in 4.7, and not 4.15, because i'm guessing this is why the request is not working in 4.15. I'm getting a 'request succeeded' per logs and what not, but i'm not getting an actual response object to work with.

[EDIT] so 4.7 didn't have some code that validated the content type, but 4.15 did. beyond that, in 4.15, OnProcessRequestComplete() is not getting called, and trying to figure that out now.

[EDIT_2] ok, so OnProcessRequestComplete() is getting called, but timeout was set to a pretty long time. reducing this to 3 seconds was enough to see if the process was working. authentication seems to be working and a successful connection is made, but a response object is never returned, and thus i can't get a response code, or any kind of successful remote login attempt using the http request. just to reiterate, this process was fine in 4.7. not sure what changed in 4.15.

Product Version: UE 4.15
more ▼

asked Mar 03 '17 at 02:58 PM in C++ Programming

avatar image

1.2k 49 31 87

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question