<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -62,7 +62,7 @@ module Videojuicer
         end
         
         # Generate the HTTP Request and handle the response
-        url = &quot;#{host_stub}#{path}&quot;
+        url = &quot;#{host_stub(protocol, host, port)}#{path}&quot;
         request = request_class_for_method(method).new(&quot;#{path}?#{query_string}&quot;)        
         # Generate the multipart body and headers
         if multipart_params.any?          
@@ -94,8 +94,8 @@ module Videojuicer
         return handle_response(response, request)
       end
       
-      def host_stub
-        &quot;#{protocol}://#{host}:#{port}&quot;
+      def host_stub(_protocol=protocol, _host=host, _port=port)
+        &quot;#{_protocol}://#{_host}:#{_port}&quot;
       end
       
       # Handles an HTTPResponse object appropriately. Redirects are followed, </diff>
      <filename>lib/videojuicer/oauth/request_proxy.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>37350dea61c7b967279f5470cce313b066a65afd</id>
    </parent>
  </parents>
  <author>
    <name>Daniel Glegg</name>
    <email>danski@Jet-Jaguar.local</email>
  </author>
  <url>http://github.com/videojuicer/core-sdk/commit/3a4d68dd76f797bdf81842feb25f285d02f244f9</url>
  <id>3a4d68dd76f797bdf81842feb25f285d02f244f9</id>
  <committed-date>2009-10-15T06:47:15-07:00</committed-date>
  <authored-date>2009-10-15T06:47:15-07:00</authored-date>
  <message>Fix for #137 make_request method does not respect locally-configured service hostname.</message>
  <tree>ae50c5a3c0daf008ae922f26c865af1151377475</tree>
  <committer>
    <name>Daniel Glegg</name>
    <email>danski@Jet-Jaguar.local</email>
  </committer>
</commit>
