Depends on the definition of "request". Is it a binding censorship, or just a request to the media not to break the news too early? The U.S. has done that several times (during the Cuban Missle crisis for example).
Now, if "request" means "censorship", oh no, the government shouldn't be allowed to put that into law.