<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<div style="padding-bottom: 10px; padding-top: 5px;">
<div style="padding:12px; border:1px solid #8D3970; background-color:#F7F9FA; color:#8D3970; font-size:14px; line-height:22px; font-family: Calibri, Arial, Helvetica, sans-serif;">
<strong>CAUTION:</strong> This e-mail originated outside the University of Southampton.
</div>
</div>
<div>
<p><font size="2" face="sans-serif">Dear all</font><br>
<br>
<font size="2" face="sans-serif">unfortunately one of our partner crawlers reports a 404 error during the download, The problem occurs when wildcards are used as mime subtype.</font><br>
<br>
<font size="2" face="sans-serif">Here an example on our repo ZORA - let us try to get publication no. 143147 via CURL:</font><br>
<br>
<font size="2" face="sans-serif">HTTP 200 status is returned, when</font><br>
<font size="2" face="sans-serif">- no Accept header is specified: curl -v <a href="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%7Cde1a13ecf75d4d63ac0108d9500fd33b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637628852052193889%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=hF8Z7C9VJlD%2BykU4cdjTEJKsK9MTMwqBO6XGK8Sk19o%3D&amp;reserved=0" originalSrc="https://www.zora.uzh.ch/id/eprint/143147/" shash="gdi2070vvbExu7CXYZh5/kfyPgdSHmE2cjCYJNZ2fcTpAY7xWamfC6TLgcKGI5l0k0QKUIIcveu+zqM+goTvyO5E+Yz7wu26UnNFC/8CmYqU1f8/F2+Vf3BZHZubJ5zVh1+Z96qDIR7c/nCdscjEJYuRES/7f0vmGjTLGWpVr+Y=">
https://www.zora.uzh.ch/id/eprint/143147/</a></font><br>
<font size="2" face="sans-serif">- an exact MIME type is specified: curl -v -H 'Accept: text/html'
<a href="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%7Cde1a13ecf75d4d63ac0108d9500fd33b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637628852052203851%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=zKq14U%2BlmbUTEJiogPVdpNJFdunu7lqSn1vtlZ%2Bk31A%3D&amp;reserved=0" originalSrc="https://www.zora.uzh.ch/id/eprint/143147/" shash="tUZAj8j04OJprIwPnfsVPGjU85YGYh7ZsukuiZuJkZ9bSwPJ2vi2XwbeBz+vYc39I/vwesq0aO+jdIvr3ycSoWnTfenQgoLWB9/DD+MnUmu0Vkb34wakMzGv8zVi1pVwQ0ah9+b6iuxYskDJz67oyeRbE1TVFWpr5NoVqoAQVw4=">https://www.zora.uzh.ch/id/eprint/143147/</a></font><br>
<font size="2" face="sans-serif">- any MIME type is specified: curl -v -H 'Accept: */*'
<a href="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%7Cde1a13ecf75d4d63ac0108d9500fd33b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637628852052203851%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=zKq14U%2BlmbUTEJiogPVdpNJFdunu7lqSn1vtlZ%2Bk31A%3D&amp;reserved=0" originalSrc="https://www.zora.uzh.ch/id/eprint/143147/" shash="tUZAj8j04OJprIwPnfsVPGjU85YGYh7ZsukuiZuJkZ9bSwPJ2vi2XwbeBz+vYc39I/vwesq0aO+jdIvr3ycSoWnTfenQgoLWB9/DD+MnUmu0Vkb34wakMzGv8zVi1pVwQ0ah9+b6iuxYskDJz67oyeRbE1TVFWpr5NoVqoAQVw4=">https://www.zora.uzh.ch/id/eprint/143147/</a></font><br>
<br>
<font size="2" face="sans-serif">HTTP 404 status is returned if the MIME subtype is open, e.g. 'text/*'.</font><br>
<br>
<font size="2" face="sans-serif">==&gt; curl -v -H 'Accept: text/*,application/*' </font>
<a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.zora.u%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cde1a13ecf75d4d63ac0108d9500fd33b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637628852052213807%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=SaWnlhGt2rkDDGryxKStXwEixyW5UMytBqWvVBnfwZU%3D&amp;reserved=0" originalSrc="https://www.zora.u/" shash="e7JtXk4sOWbzk6bOlGojjO4WX6BMZWOVK5VPRZq6kqg5n3iP1q5hrfsPTTS8Xf6sqcUwmARgaV796os+p60XdzZbvC7oLe6h7GZX58XLUmX8A94jdoDYYv4ONsYnffBV/6+ax91Gv+BBR6/mthNUyBzCvaGc18ERcw5IYo+z6UE="><font size="2" face="sans-serif">https://www.zora.u</font></a><font size="2" face="sans-serif">zh.ch/id/eprint/143147/</font><br>
<br>
<font size="2" face="sans-serif">[...]</font><br>
<font size="2" face="sans-serif">&lt; HTTP/1.1 404 Not Found</font><br>
<font size="2" face="sans-serif">&lt; Date: Mon, 26 Jul 2021 08:23:04 GMT</font><br>
<font size="2" face="sans-serif">&lt; Server: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips mod_perl/2.0.11 Perl/v5.16.3</font><br>
<font size="2" face="sans-serif">&lt; Cache-Control: no-store, no-cache, must-revalidate</font><br>
<font size="2" face="sans-serif">&lt; Strict-Transport-Security: max-age=15780000</font><br>
<font size="2" face="sans-serif">&lt; Transfer-Encoding: chunked</font><br>
<font size="2" face="sans-serif">&lt; Content-Type: text/html; charset=utf-8</font><br>
<br>
<font size="2" face="sans-serif">The Header &quot;Accept: text/*,application/*&quot; should be valid. So, we think is goin wrong around
</font><font size="2" face="sans-serif">CRUD.pm [line 948] - </font><font size="3" face="serif">elsif( $subtype eq '*' ) {}</font><br>
<br>
<font size="2" face="sans-serif">Is this a bug or is there a workaround? Any help is appreciated.<br>
<br>
Have a nice day<br>
Jens<br>
</font><br>
<br>
<font size="2" face="sans-serif">-- <br>
Jens Witzel<br>
Zentrale Informatik<br>
Universität Zürich<br>
Stampfenbachstrasse 73<br>
CH-8006 Zürich<br>
<br>
mail: &nbsp;jens.witzel@uzh.ch<br>
phone: +41 44 63 56777<br>
<a href="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%7Cde1a13ecf75d4d63ac0108d9500fd33b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637628852052223754%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=lfxfTonl3Qxd8ATm%2BDPlx7seiITsmPax6biGyZHJOAk%3D&amp;reserved=0" originalSrc="http://www.zi.uzh.ch/" shash="BM4o8D0LA9AxtXmYPaKIO9Fn8gAz2JZVNrA1H0YFZa1EwDwzHuZ0+wk9Wz9/oP8excKYJY6ZfH4ayB4MUZvdqegF4grnh6T1v9tj5nO0HZkqdzSC0bU6/mu2yLV3CbS70D5RcmtwW23dpKDmAI85gCwiY0umuZBx5R3ZXUXC7AE=">http://www.zi.uzh.ch</a></font><br>
</p>
</div>
</body>
</html>