Attention is currently required from: pespin.
2 comments:
File library/HTTP_Adapter.ttcn:
Patch Set #1, Line 85: msg.request := {
why can't you just do something like: […]
Thanks for the hint, I didn't see this option. I have now done it this way.
The body field is a mandatory field in type record HTTPRequest. When I set it to omit I also get an error. The body field must be present but it can be empty (""). I have the feeling that the API is a bit miss-designed here, but we have to live with that.
File library/HTTP_Adapter.ttcn:
Patch Set #2, Line 100: if (ispresent(body)) {
I'm not that sure this ispresent(body) directly on a variable is what you are actually want. […]
yes, I have tested it, but I also think that istemplatekind() is the better option.
To view, visit change 36505. To unsubscribe, or for help writing mail filters, visit settings.