php - Which HTTP method to use for file downloading? -


in site users can download files. files generated using php. what's http method should use sending request download file attachment? or post?

get passively retrieving files, post altering information on server. seen client, doesn't matter server or doesn't in process.

so unless you're altering server state in request: get.


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

ruby - Nesting modules inside of a Rails eninge gem -

Eclipse formatter for java ending braces -