prayagverma / gdata-python-client

Automatically exported from code.google.com/p/gdata-python-client
1 stars 0 forks source link

500 error instead of 401 or 404 #639

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to access https://www.google.com/calendar/feeds/.../private
2. Get 500 response, but the body says "No access to the calendar"

What is the expected output? What do you see instead?

I expect to get 401 or 404 response, but I get a 500 response.

Here's the body of the response:
Server responded with: 500, <html><head><meta http-equiv="content-type" 
content="text/html;charset=UTF-8">
<title>Klaida</title>
<style type="text/css">body {font-family: arial,sans-serif}</style></head>
<body text="#000000" bgcolor="#ffffff"><table border="0" cellpadding="2" 
cellspacing="0" width="100%"><tr><td rowspan="3" width="1%" nowrap><b><font 
face="times" size="10"><font color="#0039b6">G</font> <font 
color="#c41200">o</font> <font color="#f3c518">o</font> <font 
color="#0039b6">g</font> <font color="#30a72f">l</font> <font 
color="#c41200">e</font></font>&nbsp;&nbsp;</b></td>
<td>&nbsp;</td></tr>
<tr><td bgcolor="#3366cc"><font face="arial,sans-serif" 
color="#ffffff"><b>Klaida</b></font></td></tr>
<tr><td>&nbsp;</td></tr></table>
<blockquote>Nėra prieigos prie Jūsų prašomo kalendoriaus</blockquote>
<p></p>
<div style="background:#3366cc; width:1px; height:4px"></div></body></html>

Original issue reported on code.google.com by nakti...@busyflow.com on 14 Sep 2012 at 8:14