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" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -