[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Antwort: Re: Crawler ends up with 404, dont know how to handle MIME subtype wildcard



CAUTION: This e-mail originated outside the University of Southampton.

Hi David

thank you once more for your support. We're actually running on 3.3.16 with some changes and i'll check this HEAD fixes.

Kind regards
Jens

--
Jens Witzel
Zentrale Informatik
Universit?t Z?rich
Stampfenbachstrasse 73
CH-8006 Z?rich

mail:  jens.witzel at uzh.ch
phone: +41 44 63 56777
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.zi.uzh.ch%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136706811%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=Wzp3w5PfzgVfBWr%2Bj0DDZ%2BSiBgXhbLQCJ7HkGMNEUww%3D&reserved=0

[Inactive hide details for "David R Newman" ---27.07.2021 21:46:14---Hi Jens, HEAD requests (adapting the Curl command you provi]"David R Newman" ---27.07.2021 21:46:14---Hi Jens, HEAD requests (adapting the Curl command you provided) work for me

Von: "David R Newman" <drn at ecs.soton.ac.uk>
An: jens.witzel at uzh.ch
Kopie: eprints-tech at ecs.soton.ac.uk
Datum: 27.07.2021 21:46
Betreff: Re: [EP-tech] Crawler ends up with 404, dont know how to handle MIME subtype wildcard

________________________________



Hi Jens,

HEAD requests (adapting the Curl command you provided) work for me running a repository based on the latest GitHub commit.  Looking back through the code I think the fix to support HEAD requests correctly was put in place for the EPrints 3.4.1 release:

https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints3.4%2Fcommit%2Fd723a6e8f30d3e041fe4ef9d6323ccf7f6a2fbcd%23diff-0c92bd144bdc663271c5d8d071977aaa546702c4d8c1b379b32682e5cfa43527&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136706811%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=mOJDxt9nLRHRwChM6xxwFovh3vbTuFHZnVV5%2B7cdoTY%3D&amp;reserved=0

Regards

David Newman

On 27/07/2021 08:15, jens.witzel at uzh.ch<mailto:jens.witzel at uzh.ch> wrote:

CAUTION: This e-mail originated outside the University of Southampton.

Dear David

as a reminder: grabbing only the "Head" also still doesn't work! We saw this many times in our logfiles.

curl -v -I https://_some_eprint_server_/id/eprint/12345/<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.zora.uzh.ch%2Fid%2Feprint%2F53644%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136706811%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=IhLedCuzD74qf0BTM9H9jIF8dGpYkNaS%2FjkNpkCLxVo%3D&amp;reserved=0>

Thanks
Jens

--
Jens Witzel
Zentrale Informatik
Universit?t Z?rich
Stampfenbachstrasse 73
CH-8006 Z?rich

mail:  jens.witzel at uzh.ch<mailto:jens.witzel at uzh.ch>
phone: +41 44 63 56777
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.zi.uzh.ch%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136706811%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=Wzp3w5PfzgVfBWr%2Bj0DDZ%2BSiBgXhbLQCJ7HkGMNEUww%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.zi.uzh.ch%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136716766%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=%2Fos%2B5DMk6gnd%2BT4fN%2FZBOBIx9S12Zjkhi%2BxNh0dpISg%3D&amp;reserved=0>

[Inactive hide details for "David R Newman"              ---26.07.2021 17:43:21---Hi Jens, Great!  If it had not              fixed it, I would have been]"David R Newman" ---26.07.2021 17:43:21---Hi Jens, Great!  If it had not fixed it, I would have been at a bit of a loss.

Von: "David R Newman" <drn at ecs.soton.ac.uk><mailto:drn at ecs.soton.ac.uk>
An: jens.witzel at uzh.ch<mailto:jens.witzel at uzh.ch>
Kopie: eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>
Datum: 26.07.2021 17:43
Betreff: Re: Antwort: Re: Antwort: Re: [EP-tech] Crawler ends up with 404, dont know how to handle MIME subtype wildcard

________________________________



Hi Jens,

Great!  If it had not fixed it, I would have been at a bit of a loss.

Regards

David Newman

On 26/07/2021 16:41, jens.witzel at uzh.ch<mailto:jens.witzel at uzh.ch> wrote:

CAUTION: This e-mail originated outside the University of Southampton.

Sorry David,

it was my fault: tried to catch up an non existant link, caused by mixture between ISSUE and testing host #-)
Now I get my "HTTP/1.1 302 Found" which should be fine.

Thanks again
Jens

--
Jens Witzel
Zentrale Informatik
Universit?t Z?rich
Stampfenbachstrasse 73
CH-8006 Z?rich

mail:  jens.witzel at uzh.ch<mailto:jens.witzel at uzh.ch>
phone: +41 44 63 56777
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.zi.uzh.ch%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136716766%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=%2Fos%2B5DMk6gnd%2BT4fN%2FZBOBIx9S12Zjkhi%2BxNh0dpISg%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.zi.uzh.ch%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136716766%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=%2Fos%2B5DMk6gnd%2BT4fN%2FZBOBIx9S12Zjkhi%2BxNh0dpISg%3D&amp;reserved=0>

[Inactive hide details for Jens Witzel---26.07.2021                17:33:26---Hi David thanks for your fast fix. Just tested                it and unfortunate]Jens Witzel---26.07.2021 17:33:26---Hi David thanks for your fast fix. Just tested it and unfortunately still get this ugly 404 :-/ Rega

Von: Jens Witzel/at/UZH
An: "David R Newman" <drn at ecs.soton.ac.uk><mailto:drn at ecs.soton.ac.uk>
Kopie: eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>, jens.witzel at uzh.ch<mailto:jens.witzel at uzh.ch>
Datum: 26.07.2021 17:33
Betreff: Antwort: Re: Antwort: Re: [EP-tech] Crawler ends up with 404, dont know how to handle MIME subtype wildcard

________________________________


Hi David

thanks for your fast fix. Just tested it and unfortunately still get this ugly 404 :-/

Regards
Jens

--
Jens Witzel
Zentrale Informatik
Universit?t Z?rich
Stampfenbachstrasse 73
CH-8006 Z?rich

mail:  jens.witzel at uzh.ch<mailto:jens.witzel at uzh.ch>
phone: +41 44 63 56777
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.zi.uzh.ch%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136716766%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=%2Fos%2B5DMk6gnd%2BT4fN%2FZBOBIx9S12Zjkhi%2BxNh0dpISg%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.zi.uzh.ch%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136716766%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=%2Fos%2B5DMk6gnd%2BT4fN%2FZBOBIx9S12Zjkhi%2BxNh0dpISg%3D&amp;reserved=0>


[Inactive hide details for "David R Newman"              ---26.07.2021 16:03:36---Hi Jens, To fix your specific              problem you need to modify]"David R Newman" ---26.07.2021 16:03:36---Hi Jens, To fix your specific problem you need to modify

Von: "David R Newman" <drn at ecs.soton.ac.uk><mailto:drn at ecs.soton.ac.uk>
An: jens.witzel at uzh.ch<mailto:jens.witzel at uzh.ch>
Kopie: eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>
Datum: 26.07.2021 16:03
Betreff: Re: Antwort: Re: [EP-tech] Crawler ends up with 404, dont know how to handle MIME subtype wildcard
________________________________



Hi Jens,

To fix your specific problem you need to modify perl_lib/EPrints/Apache/Rewrite.pm on or around line 422:

-                       &&  (index(lc($accept), "text/html") != -1 || index(lc($accept),"*/*") != -1 || $accept eq ""  )   ## header must be text/html, or */*, or undef
+                       &&  (index(lc($accept), "text/html") != -1 || index(lc($accept), "text/*") != -1 || index(lc($accept),"*/*") != -1 || $accept eq ""  )   ## header must be text/html, text/*, */* or undef

I am reviewing the implication of this change and whether any further changes are needed, as I see reference to the accept mime type in several other places and want to see whether setting accept mime type to text/* on other requests would still break things.

Regards

David Newman

On 26/07/2021 09:55, jens.witzel at uzh.ch<mailto:jens.witzel at uzh.ch> wrote:

CAUTION: This e-mail originated outside the University of Southampton.

Dear David

thank you for your support!

Kind regards
Jens

--
Jens Witzel
Zentrale Informatik
Universit?t Z?rich
Stampfenbachstrasse 73
CH-8006 Z?rich

mail:  jens.witzel at uzh.ch<mailto:jens.witzel at uzh.ch>
phone: +41 44 63 56777
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.zi.uzh.ch%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136716766%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=%2Fos%2B5DMk6gnd%2BT4fN%2FZBOBIx9S12Zjkhi%2BxNh0dpISg%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.zi.uzh.ch%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136716766%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=%2Fos%2B5DMk6gnd%2BT4fN%2FZBOBIx9S12Zjkhi%2BxNh0dpISg%3D&amp;reserved=0>

[Inactive hide details for "David R Newman"                ---26.07.2021 10:50:37---Hi Jens, I can replicate the same                problem on 3.4 GitHub HEA]"David R Newman" ---26.07.2021 10:50:37---Hi Jens, I can replicate the same problem on 3.4 GitHub HEAD [1].  I have created

Von: "David R Newman" <drn at ecs.soton.ac.uk><mailto:drn at ecs.soton.ac.uk>
An: eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>, jens.witzel at uzh.ch<mailto:jens.witzel at uzh.ch>
Datum: 26.07.2021 10:50
Betreff: Re: [EP-tech] Crawler ends up with 404, dont know how to handle MIME subtype wildcard

________________________________



Hi Jens,

I can replicate the same problem on 3.4 GitHub HEAD [1].  I have created a GitHub issue for this [2] and will investigate.

Regards

David Newman

[1] https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints3.4&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136716766%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=2DKfo%2BkIO4biJesTwBPeMvsgR7sMWJ1leq8EMKH4cUI%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints3.4&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136716766%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=2DKfo%2BkIO4biJesTwBPeMvsgR7sMWJ1leq8EMKH4cUI%3D&amp;reserved=0>

[2] https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints3.4%2Fissues%2F159&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136716766%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=kWZuJ1DvQFYYeSfQx3yWoFqKpdGdgtefJdT%2B%2BSgVc5U%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints3.4%2Fissues%2F159&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136716766%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=kWZuJ1DvQFYYeSfQx3yWoFqKpdGdgtefJdT%2B%2BSgVc5U%3D&amp;reserved=0>

On 26/07/2021 09:31, jens.witzel--- via Eprints-tech wrote:

CAUTION: This e-mail originated outside the University of Southampton.

Dear all

unfortunately one of our partner crawlers reports a 404 error during the download, The problem occurs when wildcards are used as mime subtype.

Here an example on our repo ZORA - let us try to get publication no. 143147 via CURL:

HTTP 200 status is returned, when
- no Accept header is specified: curl -v https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.zora.uzh.ch%2Fid%2Feprint%2F143147%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136726715%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=Xk9A2%2FpKSscRzCnvnbrJS3vIu2NtRYkMnVHvYvq%2BOyY%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.zora.uzh.ch%2Fid%2Feprint%2F143147%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136726715%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=Xk9A2%2FpKSscRzCnvnbrJS3vIu2NtRYkMnVHvYvq%2BOyY%3D&amp;reserved=0>
- an exact MIME type is specified: curl -v -H 'Accept: text/html' https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.zora.uzh.ch%2Fid%2Feprint%2F143147%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136726715%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=Xk9A2%2FpKSscRzCnvnbrJS3vIu2NtRYkMnVHvYvq%2BOyY%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.zora.uzh.ch%2Fid%2Feprint%2F143147%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136726715%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=Xk9A2%2FpKSscRzCnvnbrJS3vIu2NtRYkMnVHvYvq%2BOyY%3D&amp;reserved=0>
- any MIME type is specified: curl -v -H 'Accept: */*' https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.zora.uzh.ch%2Fid%2Feprint%2F143147%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136726715%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=Xk9A2%2FpKSscRzCnvnbrJS3vIu2NtRYkMnVHvYvq%2BOyY%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.zora.uzh.ch%2Fid%2Feprint%2F143147%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136726715%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=Xk9A2%2FpKSscRzCnvnbrJS3vIu2NtRYkMnVHvYvq%2BOyY%3D&amp;reserved=0>

HTTP 404 status is returned if the MIME subtype is open, e.g. 'text/*'.

==> curl -v -H 'Accept: text/*,application/*' https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.zora.u%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136726715%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=Pbly8PsDr%2FCgN4z4ypXNIVfiE1VUcMYC7SBX0pE8vWk%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.zora.u%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136726715%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=Pbly8PsDr%2FCgN4z4ypXNIVfiE1VUcMYC7SBX0pE8vWk%3D&amp;reserved=0>zh.ch/id/eprint/143147/

[...]
< HTTP/1.1 404 Not Found
< Date: Mon, 26 Jul 2021 08:23:04 GMT
< Server: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips mod_perl/2.0.11 Perl/v5.16.3
< Cache-Control: no-store, no-cache, must-revalidate
< Strict-Transport-Security: max-age=15780000
< Transfer-Encoding: chunked
< Content-Type: text/html; charset=utf-8

The Header "Accept: text/*,application/*" should be valid. So, we think is goin wrong around CRUD.pm [line 948] - elsif( $subtype eq '*' ) {}

Is this a bug or is there a workaround? Any help is appreciated.

Have a nice day
Jens


--
Jens Witzel
Zentrale Informatik
Universit?t Z?rich
Stampfenbachstrasse 73
CH-8006 Z?rich

mail:  jens.witzel at uzh.ch<mailto:jens.witzel at uzh.ch>
phone: +41 44 63 56777
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.zi.uzh.ch%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136726715%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=JLswJhZlwhBoqFHIxzjmEDSoqmOMEtD6NiaN6bYWCCQ%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.zi.uzh.ch%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136726715%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=JLswJhZlwhBoqFHIxzjmEDSoqmOMEtD6NiaN6bYWCCQ%3D&amp;reserved=0>

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136726715%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=3k%2FMOxM5NnvXdYV9JZp3J3MKmEdOR4ytqCo2SWfKG50%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136726715%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=3k%2FMOxM5NnvXdYV9JZp3J3MKmEdOR4ytqCo2SWfKG50%3D&amp;reserved=0>
*** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136736678%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=2YPF%2FY4tcUQIsJRAGT1Q2vzTCZWrV194JA%2FO0oZx6v4%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136736678%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=2YPF%2FY4tcUQIsJRAGT1Q2vzTCZWrV194JA%2FO0oZx6v4%3D&amp;reserved=0>




Virus-free. https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136736678%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=EOhDIbHkongyXcop%2BJNOpS3xjtXGJAxJDUzB4uLtbyk%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136736678%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=qoXXGWnjTUDKA90UxM7xDeSEcgpYpfj4Tf7Z7zdE3nw%3D&amp;reserved=0>



Virus-free. https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136736678%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=EOhDIbHkongyXcop%2BJNOpS3xjtXGJAxJDUzB4uLtbyk%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136736678%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=qoXXGWnjTUDKA90UxM7xDeSEcgpYpfj4Tf7Z7zdE3nw%3D&amp;reserved=0>




Virus-free. https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136736678%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=EOhDIbHkongyXcop%2BJNOpS3xjtXGJAxJDUzB4uLtbyk%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136736678%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=qoXXGWnjTUDKA90UxM7xDeSEcgpYpfj4Tf7Z7zdE3nw%3D&amp;reserved=0>


<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136736678%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=qoXXGWnjTUDKA90UxM7xDeSEcgpYpfj4Tf7Z7zdE3nw%3D&amp;reserved=0>

Virus-free. https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136736678%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=EOhDIbHkongyXcop%2BJNOpS3xjtXGJAxJDUzB4uLtbyk%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4c3acd96fb84aee69fe08d9518f3e4a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637630499136736678%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=qoXXGWnjTUDKA90UxM7xDeSEcgpYpfj4Tf7Z7zdE3nw%3D&amp;reserved=0>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20210728/15f55a15/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20210728/15f55a15/attachment-0003.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4B682155.gif
Type: image/gif
Size: 45 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20210728/15f55a15/attachment-0004.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecblank.gif
Type: image/gif
Size: 45 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20210728/15f55a15/attachment-0005.gif