    # File estraierpure.rb, line 576
        def put_doc(doc)
          Utility::check_types({ doc=>Document }) if $DEBUG
          @status = -1
          return false unless @url
          turl = @url + "/put_doc"
          reqheads = [ "Content-Type: text/x-estraier-draft" ]
          reqheads.push("Authorization: Basic " + Utility::base_encode(@auth)) if @auth
          reqbody = doc.dump_draft
          rv = Utility::shuttle_url(turl, @pxhost, @pxport, @timeout, reqheads, reqbody, nil, nil)
          @status = rv
          rv == 200
        end