title: Ajax youtube upload
body: <p>I'm trying to implement resumable video upload to Youtube, 
  as described here: <a href="http://code.google.com/intl/ru/apis/youtube/2.0/developers_guide_protocol_resumable_uploads.html" rel="nofollow">youtube resumable upload api</a> .<br/>
  But I am getting error: "NetworkError: 404 Not Found - <a href="http://uploads.gdata.youtube.com/resumable/feeds/api/users/default/uploads" rel="nofollow">http://uploads.gdata.youtube.com/resumable/feeds/api/users/default/uploads</a>". <br/>
  Here is code:</p>
  
  <pre>
      var http = new XMLHttpRequest(); 
      var url = "http://uploads.gdata.youtube.com/resumable/feeds/api/users/default/uploads";   
      http.open("POST", url, true);
      http.setRequestHeader("Host", "uploads.gdata.youtube.com");
      http.setRequestHeader("Authorization", "AuthSub token=\"yDXi4sfOb8RYWDIH....MEAxMzE0MzAzMDEy\"");
      http.setRequestHeader("GData-Version", 2);
      http.setRequestHeader("X-GData-Key", "key=DI39si4Tl....18OaRy");
      http.setRequestHeader("Content-length", 0);
      http.setRequestHeader("Slug", "test.avi");
      http.send(null);
  </pre>
  
  <p>I would be grateful for the help.</p>