-
Notifications
You must be signed in to change notification settings - Fork 153
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
TidHTTPServer does not call event to create Post Stream #366
Comments
I assume you meant |
Hey Remy(@rlebeau), Apologies
You are absolutely correct and I'm sorry I was lazy to include the full correct string 😃 Again I beg for forgiveness since I should've provided the same example I did on the forums here. I guess I assumed you would correlate both and just pick the files/examples I provided on the forum. ExampleThese are the project and JSON file I', using: and here's the $ curl -X POST --data-binary '@rpc-request-test.json' http://localhost:6969 The problem here is that if you don't specify a Cheers, |
It would be useful to see the result of your logging. Or better, a capture of the actual raw HTTP request, from a packet sniffer like Wireshark, or by assigning one of Indy's Small nitpick - in your |
Hey Remy(@rlebeau) I have to admit, you drive a bloody hard bargain 😉 😝 Let's see if I can comply with all your demands: LoggingI wasn't sure if I had logging turned on in the first file that I sent you, so I made sure it was ON and even did a little bash script to run the server in the background, run the correct and incorrect This is what the logging and the bash script spits out:
And the set of files that I used for this: WireSharkServerJSONRPC-Wireshark.tar.gz On the nitpickingThis is throw away code. It's kinda me in a pitch black room, with a blind fold, trying to feel myself out of it. I'm very thankful for that nitpicking, since it will improve my future code. Cheers, |
Hey Remy(@rlebeau), I now have egg on my face!!!! 🥚 and I'm very sorry for wasting your time!!! I was re-reading the post I made and I looked at the Logging with more attention and I noticed that both had:
This means that the latest version on Again, Remy, MANY apologies for wasting your time on this matter. Many thanks for your patience!! Cheers, |
Hi Remy (@rlebeau)
Like you asked on the Lazarus forums, I'm posting this issue:
When a post is performed with
Content-Type: www-form-urlencoded
the HTTP server should fire up the event to create the post stream.This only happens if the
Content-Type
is something else than above.Cheers,
Gus
The text was updated successfully, but these errors were encountered: