Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUnexpected '<' in POST response #9
Comments
|
Thanks for reporting. This should be fixed in 570ffff. Please let me know if that addresses the issue for you. Working to get a CRAN release up for this. |
|
And yes, to your last question, you can load the full R response from the recorded file. You don't have to copy and paste--just |
|
Also, for an immediate workaround, you can just delete the |
|
That works now, thanks! |
Hi Neal, I have a failing test occur when the response includes an
auth_token = <environment>field. The generated file is shown below - it is a POST batch fromgoogleanalyticsRwhich is generated with this code ( link to file on GitHub)The POST response returns other responses within it that may be GET, DELETE etc - its a way to send many API calls at once. Perhaps it is unexpected for your mock functions though.
The offending response is below:
When trying to debug I tried to load the file contents via copy-pasting the created file's content and got the same error.
Also just for future reference, is the expected behaviour to be able to recreate the response from the copy-pasted file contents?