We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
DataCiteXML.pm sets mime type during new()
$self->{mimetype} = 'application/xml; charset=utf-8';
DataCiteEvent.pm sets mime type when calling datacite_request
my($response_content, $response_code) = datacite_request("POST", $url."metadata", $user_name, $user_pw, xml, "application/xml;charset=UTF-8");
The text was updated successfully, but these errors were encountered:
I just noticed this happens quite a bit
grep -r "application/xml" * DataCiteDoi.epmi: <mime_type>application/xml</mime_type> lib/plugins/EPrints/Plugin/Event/DataCiteEvent.pm: my($response_content, $response_code) = datacite_request("POST", $url."metadata", $user_name, $user_pw, $xml, "application/xml;charset=UTF-8"); lib/plugins/EPrints/Plugin/Event/DataCiteEvent.pm: 'Accept' => 'application/xml', lib/plugins/EPrints/Plugin/Event/DataCiteEvent.pm: "Accept: application/xml", lib/plugins/EPrints/Plugin/Export/DataCiteXML.pm: $self->{mimetype} = 'application/xml; charset=utf-8';
Sorry, something went wrong.
No branches or pull requests
DataCiteXML.pm sets mime type during new()
DataCiteEvent.pm sets mime type when calling datacite_request
The text was updated successfully, but these errors were encountered: