MCPcopy
hub / github.com/seaweedfs/seaweedfs / PostForm

Method PostForm

weed/util/http/client/http_client.go:71–77  ·  view source on GitHub ↗
(url string, data url.Values)

Source from the content-addressed store, hash-verified

69}
70
71func (httpClient *HTTPClient) PostForm(url string, data url.Values) (resp *http.Response, err error) {
72 url, err = httpClient.NormalizeHttpScheme(url)
73 if err != nil {
74 return nil, err
75 }
76 return httpClient.Client.PostForm(url, data)
77}
78
79func (httpClient *HTTPClient) Head(url string) (resp *http.Response, err error) {
80 url, err = httpClient.NormalizeHttpScheme(url)

Callers

nothing calls this directly

Implementers 15

commandVolumeListweed/shell/command_volume_list.go
commandVolumeScrubweed/shell/command_volume_scrub.go
commandS3UserProvisionweed/shell/command_s3_user_provision.g
commandVolumeFixReplicationweed/shell/command_volume_fix_replicat
commandVolumeMarkweed/shell/command_volume_mark.go
commandS3AccessKeyDeleteweed/shell/command_s3_accesskey_delete
commandFsPwdweed/shell/command_fs_pwd.go
commandRaftServerRemoveweed/shell/command_cluster_raft_remove
commandFsDistributeChunksweed/shell/command_fs_distribute_chunk
commandEcRebuildweed/shell/command_ec_rebuild.go
commandS3GroupListweed/shell/command_s3_group_list.go
commandS3AnonymousSetweed/shell/command_s3_anonymous_set.go

Calls 2

NormalizeHttpSchemeMethod · 0.95
PostFormMethod · 0.65

Tested by

no test coverage detected